package com.example.feign.util;

import com.example.feign.mapper.EurekaClientFeign;
import org.springframework.stereotype.Component;

@Component
public class HiHystrix implements EurekaClientFeign {
    @Override
    public String sayHiFromClientEureka(String name) {
        return "sorry,error"+name;
    }

    @Override
    public String sayHiClientEureka(String name) {
        return "sorry,error,two"+"---"+name;
    }
}
